fin = open('1.py', encoding='utf8')
text = fin.read()
print(text)
fin.close()

fout = open('1.test.py', mode='w', encoding='utf8')
fout.write(text)
fout.close()